var swipers1 = new Swiper('.con', {
	pagination: '.con .swiper-pagination',
	//      paginationClickable: true,
	//      nextButton: '.swiper-button-next',
	//      prevButton: '.swiper-button-prev',
	autoHeight: true, //enable auto height
	//	speed: 500,
	//	initialSlide: 0,
	onSlideChangeStart: function(swipers1) {
		$('.lis').eq(swipers1.activeIndex).addClass('nav_one').siblings().removeClass('nav_one');
	}
});

$('.lis').click(function() {
	$(this).addClass('nav_one').siblings().removeClass('nav_one');
	swipers1.slideTo($(this).index(), 1000);
});

jQuery(function($) {
	$.ajax({
		type: "get",
		url: "../json/first1.json",
		dataType: 'json',
		success: function(data) {
			var str = template('template_list', {
				list: data
			});
			$('.dls').html(str);
		}
	});
})
jQuery(function($) {
	$.ajax({
		type: "get",
		url: "../json/first2.json",
		dataType: 'json',
		success: function(data) {
			var str = template('template_Top', {
				top: data
			});
			$('.dl_s').html(str);
		}
	});
})

jQuery(function($) {
	$.ajax({
		type: "get",
		url: "../json/first3.json",
		dataType: 'json',
		success: function(data) {
			var str = template('template_du', {
				du: data
			});
			$('.dl_du').html(str);
		}
	});
})